<?xml version="1.0" ?>
<!DOCTYPE INARY SYSTEM "https://raw.githubusercontent.com/Zaryob/inary/master/inary-spec.dtd">
<INARY>
    <Source>
        <Name>gcc</Name>
        <Homepage>http://gcc.gnu.org</Homepage>
        <Packager>
            <Name>Süleyman POYRAZ</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Packager>
        <License>GPLv3+</License>
        <License>LGPLv3+</License>
        <IsA>app:console</IsA>
        <IsA>library</IsA>
        <PartOf>system.devel</PartOf>
        <Summary>The GNU Compiler Collection, includes C, C++, Objective-C and Fortran compilers</Summary>
        <Description>The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, as well as libraries for these languages</Description>
        <Archive sha1sum="1af8d963e4a74d05a8f2d0f795ea52d2b91f6c50" type="tarxz">http://ftp.gnu.org/gnu/gcc/gcc-10.1/gcc-10.1.0.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>binutils</Dependency>
            <Dependency>bison</Dependency>
            <Dependency>gettext</Dependency>
            <Dependency>ncurses</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>gnuconfig</Dependency>
            <Dependency>patch</Dependency>
            <Dependency>sed</Dependency>
            <Dependency>texinfo</Dependency>
            <Dependency>gmp-devel</Dependency>
            <Dependency>mpfr-devel</Dependency>
            <Dependency>libmpc-devel</Dependency>
            <Dependency>ppl</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>isl-devel</Dependency>
            <Dependency>elfutils</Dependency>
        </BuildDependencies>
        <Patches>
            <!-- Fix paths in 64bit -->
            <Patch level="1">sulin/64.patch</Patch>
            <Patch level="1">sulin/gcc_47_based-record_gcc_options.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>libquadmath</Name>
        <IsA>library</IsA>
        <BuildFlags>
            <Flag>noDebug</Flag>
        </BuildFlags>
        <PartOf>system.base</PartOf>
        <Summary>The GNU Fortran Compiler Quadmath Runtime Library</Summary>
        <Files>
            <Path fileType="library">/usr/lib/libquadmath.so*</Path>
            <Path fileType="library">/usr/lib/libquadmath.a</Path>
            <Path fileType="library">/usr/lib32/libquadmath.a</Path>
            <Path fileType="library">/usr/lib/libquadmath.spec*</Path>
            <Path fileType="library">/usr/lib32/libquadmath.so*</Path>
            <Path fileType="library">/usr/lib32/libquadmath.spec*</Path>
            <Path fileType="info">/usr/share/info/libquadmath.info</Path>
        </Files>
    </Package>

    <Package>
        <Name>libgcc</Name>
        <IsA>library</IsA>
        <BuildFlags>
            <Flag>noDebug</Flag>
        </BuildFlags>
        <PartOf>system.base</PartOf>
        <Summary>Contains a shared library of support routines used by GCC's runtime, and thus by every program on the system</Summary>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="library">/usr/lib/libiberty.a</Path>
            <Path fileType="library">/usr/lib/libstdc++.so*</Path>
            <Path fileType="library">/usr/lib/libgcc_s.so*</Path>
            <Path fileType="library">/usr/lib32/libstdc++.so*</Path>
            <Path fileType="library">/usr/lib32/libgcc_s.so*</Path>
            <Path fileType="library">/usr/lib/libsupc++.a</Path>
            <Path fileType="library">/usr/lib/libstdc++fs.a</Path>
            <Path fileType="library">/usr/lib/libstdc++.a</Path>
            <Path fileType="library">/usr/lib32/libsupc++.a</Path>
            <Path fileType="library">/usr/lib32/libstdc++fs.a</Path>
            <Path fileType="library">/usr/lib32/libstdc++.a</Path>
            <Path fileType="library">/usr/share/gcc-*</Path>
            <Path fileType="library">/usr/share/gdb</Path>
        </Files>
    </Package>

    <Package>
        <Name>libgomp</Name>
        <IsA>library</IsA>
        <BuildFlags>
            <Flag>noDebug</Flag>
        </BuildFlags>
        <Summary>Contains GCC shared support library which is needed for OpenMP 2.5 support</Summary>
        <Files>
            <Path fileType="library">/usr/lib/libgomp.so*</Path>
            <Path fileType="library">/usr/lib/libgomp.a</Path>
            <Path fileType="library">/usr/lib/libgomp.spec*</Path>
            <Path fileType="library">/usr/lib32/libgomp.so*</Path>
            <Path fileType="library">/usr/lib32/libgomp.a</Path>
            <Path fileType="library">/usr/lib32/libgomp.spec*</Path>
            <Path fileType="info">/usr/share/info/libgomp.info</Path>
        </Files>
    </Package>

    <Package>
        <Name>libgfortran</Name>
        <RuntimeDependencies>
            <Dependency>libquadmath</Dependency>
        </RuntimeDependencies>
        <BuildFlags>
            <Flag>noDebug</Flag>
        </BuildFlags>
        <IsA>library</IsA>
        <Summary>Contains GCC shared support library for gfortran</Summary>
        <Files>
            <Path fileType="info">/usr/share/info/gfortran.info</Path>
            <Path fileType="library">/usr/lib/libgfortran.so*</Path>
            <Path fileType="library">/usr/lib/libgfortran.spec</Path>
            <Path fileType="library">/usr/lib32/libgfortran.spec</Path>
            <Path fileType="library">/usr/lib/libgfortran.a</Path>
            <Path fileType="library">/usr/lib32/libgfortran.so*</Path>
            <Path fileType="library">/usr/lib32/libgfortran.a</Path>
        </Files>
    </Package>

    <Package>
        <Name>libgccgo</Name>
        <BuildFlags>
            <Flag>noDebug</Flag>
        </BuildFlags>
        <RuntimeDependencies>
            <Dependency>libgcc</Dependency>
            <Dependency>libgomp</Dependency>
        </RuntimeDependencies>
        <IsA>library</IsA>
        <Summary>Contains GCC shared support library for golang.</Summary>
        <Files>
             <Path fileType="info">/usr/share/info/gccgo.info</Path>
             <Path fileType="library">/usr/lib/libgo.so*</Path>
             <Path fileType="library">/usr/lib/libgo.a*</Path>
             <Path fileType="library">/usr/lib/libgolibbegin.a</Path>
             <Path fileType="library">/usr/lib/libgobegin.a</Path>
             <Path fileType="library">/usr/lib/go/10.1.0/x86_64-pc-linux-gnu/</Path>
             <Path fileType="library">/usr/lib32/libgo.so*</Path>
             <Path fileType="library">/usr/lib32/libgo.a*</Path>
             <Path fileType="library">/usr/lib32/libgolibbegin.a</Path>
             <Path fileType="library">/usr/lib32/libgobegin.a</Path>
             <Path fileType="library">/usr/lib32/go/10.1.0/x86_64-pc-linux-gnu/</Path>
             <Path fileType="library">/usr/bin/gccgo</Path>
             <Path fileType="library">/usr/bin/go*</Path>
             <Path fileType="library">/usr/bin/x86_64-pc-linux-gnu-gccgo</Path>
        </Files>
    </Package>

    <Package>
        <Name>libobjc</Name>
        <IsA>library</IsA>
        <BuildFlags>
            <Flag>noDebug</Flag>
        </BuildFlags>
        <Summary>Contains GCC shared support library for objc</Summary>
        <Files>
            <Path fileType="library">/usr/lib/libobjc.so*</Path>
            <Path fileType="library">/usr/lib/libobjc.a</Path>
            <Path fileType="library">/usr/lib32/libobjc.so*</Path>
            <Path fileType="library">/usr/lib32/libobjc.a</Path>
        </Files>
    </Package>

    <Package>
        <Name>gcc-l10n</Name>
        <PartOf>system.locale</PartOf>
        <BuildFlags>
            <Flag>noDebug</Flag>
        </BuildFlags>
        <Summary>Contains available GCC localization files, includes also turkish translations</Summary>
        <RuntimeDependencies>
            <Dependency>gcc</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="localedata">/usr/share/locale</Path>
        </Files>
    </Package>

    <Package>
        <Name>gcc</Name>
        <BuildFlags>
            <Flag>noDebug</Flag>
        </BuildFlags>
        <RuntimeDependencies>
            <Dependency>gmp</Dependency>
            <Dependency>isl</Dependency>
            <Dependency>mpfr</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>libmpc</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/lib</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="info">/usr/share/info/cpp.info</Path>
            <Path fileType="info">/usr/share/info/gcc.info</Path>
            <Path fileType="info">/usr/share/info/gccint.info</Path>
            <Path fileType="info">/usr/share/info/cppinternals.info</Path>
            <Path fileType="info">/usr/share/info/gccinstall.info</Path>
            <Path fileType="info">/usr/share/info/libitm.info</Path>
            <Path fileType="library">/usr/lib/gcc</Path>
            <Path fileType="library">/usr/lib/liba*</Path>
            <Path fileType="library">/usr/lib/libcc*</Path>
            <Path fileType="library">/usr/lib/libitm*</Path>
            <Path fileType="library">/usr/lib/liblsan*</Path>
            <Path fileType="library">/usr/lib/libmpx*</Path>
            <Path fileType="library">/usr/lib/libsanitizer.spec</Path>
            <Path fileType="library">/usr/lib/libtsan*</Path>
            <Path fileType="library">/usr/lib/libubsan*</Path>
            <Path fileType="library">/usr/lib32/liba*</Path>
            <Path fileType="library">/usr/lib32/libcc*</Path>
            <Path fileType="library">/usr/lib32/libitm*</Path>
            <Path fileType="library">/usr/lib32/liblsan*</Path>
            <Path fileType="library">/usr/lib32/libmpx*</Path>
            <Path fileType="library">/usr/lib32/libsanitizer.spec</Path>
            <Path fileType="library">/usr/lib32/libtsan*</Path>
            <Path fileType="library">/usr/lib32/libubsan*</Path>
            <Path fileType="library">/usr/libexec</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0755" target="/usr/bin/gfilt">gfilt</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/libexec/gSTLFilt.pl">gSTLFilt.pl</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="4">
            <Date>2020-06-14</Date>
            <Version>10.1.0</Version>
            <Comment>Gcc 10.1 has been compiled.</Comment>
            <Name>Suleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2019-12-13</Date>
            <Version>9.2.0</Version>
            <Comment>Package is rebuilded and released up.</Comment>
            <Name>Süleyman POYRAZ</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2019-09-17</Date>
            <Version>9.2.0</Version>
            <Comment>Updated gcc major version to 9.2.0</Comment>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2019-01-19</Date>
            <Version>8.2.0</Version>
            <Comment>First release</Comment>
            <Name>Süleyman POYRAZ</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
    </History>
</INARY>
